package com.bm.server.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bm.server.entity.Lot;
import com.bm.server.entity.UserInfo;
import org.apache.ibatis.annotations.Select;

/**
 * @Description:
 * @Author: 赵金帅
 * @Date: 2022/07/19/20:05
 */
public interface LotDao extends BaseMapper<Lot> {
    @Select("SELECT * FROM t_userinfo ORDER BY RAND() LIMIT 1")
    UserInfo selectUserOne();
}
